package state.practice_02;

/**
 * @author yi qiang
 * @date 2021/6/15 17:10
 */
public class StoppingState implements MetroState{
    @Override
    public void running() {
        System.out.println("error: 停止状态，无法运行");
    }

    @Override
    public void stopping() {
        System.out.println("正在停止");
    }

    @Override
    public void openDoor() {
        System.out.println("停止状态,可开门");
    }

    @Override
    public void closeDoor() {
        System.out.println("停止状态,可关门");
    }
}
